import service from '@/utils/request'

// @Tags CustomProcessBaseEnvironmentRel
// @Summary 创建CustomProcessBaseEnvironmentRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseEnvironmentRel true "创建CustomProcessBaseEnvironmentRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseEnvironmentRel/createCustomProcessBaseEnvironmentRel [post]
export const createCustomProcessBaseEnvironmentRel = (data) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/createCustomProcessBaseEnvironmentRel",
         method: 'post',
         data
     })
 }


// @Tags CustomProcessBaseEnvironmentRel
// @Summary 删除CustomProcessBaseEnvironmentRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseEnvironmentRel true "删除CustomProcessBaseEnvironmentRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseEnvironmentRel/deleteCustomProcessBaseEnvironmentRel [delete]
 export const deleteCustomProcessBaseEnvironmentRel = (data) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/deleteCustomProcessBaseEnvironmentRel",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseEnvironmentRel
// @Summary 删除CustomProcessBaseEnvironmentRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除CustomProcessBaseEnvironmentRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseEnvironmentRel/deleteCustomProcessBaseEnvironmentRel [delete]
 export const deleteCustomProcessBaseEnvironmentRelByIds = (data) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/deleteCustomProcessBaseEnvironmentRelByIds",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseEnvironmentRel
// @Summary 更新CustomProcessBaseEnvironmentRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseEnvironmentRel true "更新CustomProcessBaseEnvironmentRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /customProcessBaseEnvironmentRel/updateCustomProcessBaseEnvironmentRel [put]
 export const updateCustomProcessBaseEnvironmentRel = (data) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/updateCustomProcessBaseEnvironmentRel",
         method: 'put',
         data
     })
 }


// @Tags CustomProcessBaseEnvironmentRel
// @Summary 用id查询CustomProcessBaseEnvironmentRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseEnvironmentRel true "用id查询CustomProcessBaseEnvironmentRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /customProcessBaseEnvironmentRel/findCustomProcessBaseEnvironmentRel [get]
 export const findCustomProcessBaseEnvironmentRel = (params) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/findCustomProcessBaseEnvironmentRel",
         method: 'get',
         params
     })
 }


// @Tags CustomProcessBaseEnvironmentRel
// @Summary 分页获取CustomProcessBaseEnvironmentRel列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取CustomProcessBaseEnvironmentRel列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseEnvironmentRel/getCustomProcessBaseEnvironmentRelList [get]
 export const getCustomProcessBaseEnvironmentRelList = (params) => {
     return service({
         url: "/customProcessBaseEnvironmentRel/getCustomProcessBaseEnvironmentRelList",
         method: 'get',
         params
     })
 }